home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mac Magazin/MacEasy 2
/
Mac Magazin and MacEasy Magazine CD - Issue 02.iso
/
Themen Mac Magazin
/
Multimedia
/
Grafik-&QT Tools
/
mac-anim-viewer-102
/
GL LIMITATIONS & HINTS
next >
Wrap
Text File
|
1994-07-11
|
2KB
|
54 lines
18DEC3 Martin Fong (mwfong@nisc.sri.com)
* If MacAnim prematurely terminates with a malloc () failure, increase the
application's memory size and try again.
* Not all GRASPRT-displayable GL files are necessarily *syntactically* correct.
Because these viewers does not treat '.' (period) as a token delimiter, some GL
files cause these viewers to complain about "resolvewild type mismatch" when a
period is used in lieu of a comma. E.g.,
pfade 0,1,0.0 ; should be "pfade 0,1,0,0"
!
The reason that the viewer's parser does not treat periods as delimiters is
because
pload grasp.pic,1 ; load picture into buffer #1
cannot be interpreted as if it were
pload grasp,pic,1 ; load picture into buffer #1
In order to automatically correct this problem, the viewer would have to perform
directive-specific parsing, which it currently does not do. (Because the source
code is part of this distribution -- "fly and be free!"). Thus, a simpler
alternative is to use glib to extract the script ("glib -e <GL file> *.txt"),
correct the script in a text editor, and replace it in the GL archive.
* Not all GRASPRT-displayable GL files are necessarily *semantically* correct.
For example,
cload a1.clp,1
cload a2.clp,2
cload a3.clp,3
cload a4.clp,4
cload a5.clp,5
cload a6.clp,6
cload a7.clp,6 ; should be "cload a7.clp,7"
!
mark 10
box 70,40,249,159,10
fly 80,50,80,50,0,7,1,2,3,4,5,6,7,6,5,4,3,2
loop
This viewer will terminate with an assertion (im) failure when it attempts to
execute the fly directive, because clip 7 was never initialized. Again, the
simplest thing to do is fix the script. (The diagnostic option, Verbose, is
useful in tracking down these problems.)
* This viewer does not consistently support wildcard ('@') substitutions. If this
prevents the viewer from correctly displaying a GL file, please e-mail me the
script (".txt") files. ...However, I'm not making any promises! :-)